import request from '@/utils/request'

// 散客发票开具PC
export function makeInvoiceNoMember(data) {
  return request({
    url: '/do?c=431004',
    method: 'post',
    data: data
  })
}
// 发票开具PC
export function makeInvoice(data) {
  return request({
    url: '/do?c=431097',
    method: 'post',
    data: data
  })
}
// 添加发票抬头
export function addInvoiceTitle(data) {
  return request({
    url: '/do?c=434099',
    method: 'post',
    data: data
  })
}
// 我的默认发票抬头
export function myDefaultInvoiceTitle(data) {
  return request({
    url: '/do?c=434004',
    method: 'post',
    data: data
  })
}
// 我的发票抬头
export function myInvoiceTitle(data) {
  return request({
    url: '/do?c=434098',
    method: 'post',
    data: data
  })
}
// 发票订单列表PC
export function orderInvoiceListPC(data) {
  return request({
    url: '/do?c=701008',
    method: 'post',
    data: data
  })
}

// 开票历史PC
export function listInvoiceRecord(data) {
  return request({
    url: '/do?c=435003',
    method: 'post',
    data: data
  })
}
// 开票申请列表
export function listInvoiceApply(data) {
  return request({
    url: '/do?c=431006',
    method: 'post',
    data: data
  })
}
// 开票申请审批
export function makeInvoiceApply(data) {
  return request({
    url: '/do?c=431005',
    method: 'post',
    data: data
  })
}
// 红冲
export function redFlush(data) {
  return request({
    url: '/do?c=431007',
    method: 'post',
    data: data
  })
}
// 红冲重新发送
export function redFlushAgain(data) {
  return request({
    url: '/do?c=431008',
    method: 'post',
    data: data
  })
}
// 发票下载
export function getRedFlush(data) {
  return request({
    url: '/do?c=431009',
    method: 'post',
    data: data
  })
}

// 散客 抬头信息列表
export function getComminRiseListPost(data) {
  return request({
    url: '/do?c=434005',
    method: 'post',
    data: data
  })
}
// 发票订单列表
export function getInvoiceOrderList(data) {
  return request({
    url: '/do?c=431013',
    method: 'post',
    data: data
  })
}
